class MyThread222 implements Runnable {
    @Override
    public void run() {
        System.out.println("MyThread2");
    }
}
public class Demo2 {
    public static void main(String[] args) {
        Thread t2 = new Thread(new MyThread2());
        t2.start();
    }
}
